<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 400px;
            height: 300px;
            overflow: hidden;
            transform: skew(20deg);
            margin-top: 20px;
        }
        
        img {
            transition: all .3s;
            transform-origin: 45% 45%;
        }
        
        div:hover img {
            transform: scale(8);
        }
    </style>
</head>

<body>
    <div>
        <img src="lalala.jfif" alt="">
    </div>
    <div>
        <img src="lalala.jfif" alt="">
    </div>
    <div>
        <img src="lalala.jfif" alt="">
    </div>
</body>

</html>